<clickhouse>
    <logger>
        <level>test</level>
    </logger>

    <storage_configuration>
        <disks>
            <s3>
                <type>s3</type>
                <endpoint>http://minio1:9001/root/data/</endpoint>
                <access_key_id>minio</access_key_id>
                <secret_access_key>minio123</secret_access_key>
            </s3>
        </disks>
        <policies>
            <s3>
                <volumes>
                    <default>
                        <disk>default</disk>
                    </default>
                    <main>
                        <disk>s3</disk>
                        <prefer_not_to_merge>False</prefer_not_to_merge>
                        <perform_ttl_move_on_insert>True</perform_ttl_move_on_insert>
                    </main>
                </volumes>
            </s3>
            <s3_only>
                <volumes>
                    <main>
                        <disk>s3</disk>
                    </main>
                </volumes>
            </s3_only>
        </policies>
    </storage_configuration>

    <merge_tree>
        <allow_remote_fs_zero_copy_replication>true</allow_remote_fs_zero_copy_replication>
    </merge_tree>
    <allow_remove_stale_moving_parts>true</allow_remove_stale_moving_parts>
</clickhouse>
